<?php $user = $comment->getUser(); ?>
<?php if ($user instanceof User): ?>
  <?php echo link_to($user->getName(), '@admin?module=user&action=edit&id='.$user->getId()); ?>
  <?php echo $user->getCredential(); ?>
<?php else: ?>
  <?php echo __('Visitor'); ?>  
<?php endif; ?>